﻿Imports wys.db.SQLiteHelper

Public Class DBUtil

    Public Shared Function 连接字符串() As String

        Return MyConfig.配置连接类

    End Function

    Public Shared Function ExectueSql(ByVal sql As String) As Boolean

        Return wys.db.SQLiteHelper.ExecuteNonQuery(连接字符串, sql, CommandType.Text)

    End Function

    Public Shared Function 组件配置表() As DataTable

        Return wys.db.SQLiteHelper.ExecuteDataSet(连接字符串, "select * from 组件 order by 顺序", CommandType.Text).Tables(0)

    End Function

End Class
